<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>ProvCon.dbui.orm.form</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="ProvCon-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            >docsis-provisioning</th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="ProvCon-module.html">Package&nbsp;ProvCon</a> ::
        <a href="ProvCon.dbui-module.html">Package&nbsp;dbui</a> ::
        <a href="ProvCon.dbui.orm-module.html">Package&nbsp;orm</a> ::
        Module&nbsp;form
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="ProvCon.dbui.orm.form-pysrc.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<h1 class="epydoc">Source Code for <a href="ProvCon.dbui.orm.form-module.html">Module ProvCon.dbui.orm.form</a></h1>
<pre class="py-src">
<a name="L1"></a><tt class="py-lineno">  1</tt>  <tt class="py-line"><tt class="py-comment">#!/bin/env python</tt> </tt>
<a name="L2"></a><tt class="py-lineno">  2</tt>  <tt class="py-line"><tt class="py-comment"># -*- coding: utf8 -*-</tt> </tt>
<a name="L3"></a><tt class="py-lineno">  3</tt>  <tt class="py-line"><tt class="py-comment">##$Id: form.py 63 2008-12-24 13:02:17Z wroniasty $</tt> </tt>
<a name="L4"></a><tt class="py-lineno">  4</tt>  <tt class="py-line"> </tt>
<a name="L5"></a><tt class="py-lineno">  5</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-0" class="py-name" targets="Package ProvCon=ProvCon-module.html"><a title="ProvCon" class="py-name" href="#" onclick="return doclink('link-0', 'ProvCon', 'link-0');">ProvCon</a></tt><tt class="py-op">.</tt><tt id="link-1" class="py-name" targets="Package ProvCon.func=ProvCon.func-module.html"><a title="ProvCon.func" class="py-name" href="#" onclick="return doclink('link-1', 'func', 'link-1');">func</a></tt><tt class="py-op">.</tt><tt id="link-2" class="py-name" targets="Module ProvCon.func.variables=ProvCon.func.variables-module.html"><a title="ProvCon.func.variables" class="py-name" href="#" onclick="return doclink('link-2', 'variables', 'link-2');">variables</a></tt> <tt class="py-keyword">import</tt> <tt id="link-3" class="py-name" targets="Class ProvCon.func.variables.TracedVariable=ProvCon.func.variables.TracedVariable-class.html"><a title="ProvCon.func.variables.TracedVariable" class="py-name" href="#" onclick="return doclink('link-3', 'TracedVariable', 'link-3');">TracedVariable</a></tt> <tt class="py-keyword">as</tt> <tt class="py-name">StringVar</tt> </tt>
<a name="L6"></a><tt class="py-lineno">  6</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-4" class="py-name"><a title="ProvCon" class="py-name" href="#" onclick="return doclink('link-4', 'ProvCon', 'link-0');">ProvCon</a></tt><tt class="py-op">.</tt><tt id="link-5" class="py-name" targets="Package ProvCon.dbui=ProvCon.dbui-module.html"><a title="ProvCon.dbui" class="py-name" href="#" onclick="return doclink('link-5', 'dbui', 'link-5');">dbui</a></tt><tt class="py-op">.</tt><tt id="link-6" class="py-name" targets="Module ProvCon.dbui.API=ProvCon.dbui.API-module.html"><a title="ProvCon.dbui.API" class="py-name" href="#" onclick="return doclink('link-6', 'API', 'link-6');">API</a></tt> <tt class="py-keyword">import</tt> <tt id="link-7" class="py-name" targets="Function ProvCon.dbui.API.Implements()=ProvCon.dbui.API-module.html#Implements"><a title="ProvCon.dbui.API.Implements" class="py-name" href="#" onclick="return doclink('link-7', 'Implements', 'link-7');">Implements</a></tt><tt class="py-op">,</tt> <tt id="link-8" class="py-name" targets="Class ProvCon.dbui.API.IForm=ProvCon.dbui.API.IForm-class.html"><a title="ProvCon.dbui.API.IForm" class="py-name" href="#" onclick="return doclink('link-8', 'IForm', 'link-8');">IForm</a></tt> </tt>
<a name="L7"></a><tt class="py-lineno">  7</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt class="py-name">gettext</tt> <tt class="py-keyword">import</tt> <tt class="py-name">gettext</tt> <tt class="py-keyword">as</tt> <tt id="link-9" class="py-name" targets="Variable ProvCon.gui.ProvisioningControl._=ProvCon.gui.ProvisioningControl-module.html#_"><a title="ProvCon.gui.ProvisioningControl._" class="py-name" href="#" onclick="return doclink('link-9', '_', 'link-9');">_</a></tt> </tt>
<a name="L8"></a><tt class="py-lineno">  8</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-10" class="py-name"><a title="ProvCon" class="py-name" href="#" onclick="return doclink('link-10', 'ProvCon', 'link-0');">ProvCon</a></tt><tt class="py-op">.</tt><tt id="link-11" class="py-name"><a title="ProvCon.func" class="py-name" href="#" onclick="return doclink('link-11', 'func', 'link-1');">func</a></tt> <tt class="py-keyword">import</tt> <tt class="py-op">*</tt> </tt>
<a name="L9"></a><tt class="py-lineno">  9</tt>  <tt class="py-line"> </tt>
<a name="L10"></a><tt class="py-lineno"> 10</tt>  <tt class="py-line"><tt id="link-12" class="py-name" targets="Variable ProvCon.dbui.abstractui.fields.__revision__=ProvCon.dbui.abstractui.fields-module.html#__revision__,Variable ProvCon.dbui.abstractui.forms.__revision__=ProvCon.dbui.abstractui.forms-module.html#__revision__,Variable ProvCon.dbui.abstractui.navigators.__revision__=ProvCon.dbui.abstractui.navigators-module.html#__revision__,Variable ProvCon.dbui.abstractui.recordlists.__revision__=ProvCon.dbui.abstractui.recordlists-module.html#__revision__,Variable ProvCon.dbui.meta.field.__revision__=ProvCon.dbui.meta.field-module.html#__revision__,Variable ProvCon.dbui.orm.form.__revision__=ProvCon.dbui.orm.form-module.html#__revision__,Variable ProvCon.dbui.orm.record.__revision__=ProvCon.dbui.orm.record-module.html#__revision__,Variable ProvCon.dbui.orm.recordlist.__revision__=ProvCon.dbui.orm.recordlist-module.html#__revision__,Variable ProvCon.dbui.wxwin.complete.__revision__=ProvCon.dbui.wxwin.complete-module.html#__revision__,Variable ProvCon.dbui.wxwin.forms.__revision__=ProvCon.dbui.wxwin.forms-module.html#__revision__,Variable ProvCon.func.decorators.__revision__=ProvCon.func.decorators-module.html#__revision__,Variable ProvCon.func.functions.__revision__=ProvCon.func.functions-module.html#__revision__,Variable ProvCon.func.variables.__revision__=ProvCon.func.variables-module.html#__revision__"><a title="ProvCon.dbui.abstractui.fields.__revision__
ProvCon.dbui.abstractui.forms.__revision__
ProvCon.dbui.abstractui.navigators.__revision__
ProvCon.dbui.abstractui.recordlists.__revision__
ProvCon.dbui.meta.field.__revision__
ProvCon.dbui.orm.form.__revision__
ProvCon.dbui.orm.record.__revision__
ProvCon.dbui.orm.recordlist.__revision__
ProvCon.dbui.wxwin.complete.__revision__
ProvCon.dbui.wxwin.forms.__revision__
ProvCon.func.decorators.__revision__
ProvCon.func.functions.__revision__
ProvCon.func.variables.__revision__" class="py-name" href="#" onclick="return doclink('link-12', '__revision__', 'link-12');">__revision__</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"$Revision: 63 $"</tt> </tt>
<a name="Form"></a><div id="Form-def"><a name="L11"></a><tt class="py-lineno"> 11</tt>  <tt class="py-line"> </tt>
<a name="L12"></a><tt class="py-lineno"> 12</tt>  <tt class="py-line"><tt class="py-decorator">@</tt><tt class="py-decorator">Implements</tt><tt class="py-op">(</tt><tt id="link-13" class="py-name"><a title="ProvCon.dbui.API.IForm" class="py-name" href="#" onclick="return doclink('link-13', 'IForm', 'link-8');">IForm</a></tt><tt class="py-op">)</tt> </tt>
<a name="L13"></a><tt class="py-lineno"> 13</tt> <a class="py-toggle" href="#" id="Form-toggle" onclick="return toggle('Form');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="ProvCon.dbui.orm.form.Form-class.html">Form</a><tt class="py-op">(</tt><tt class="py-base-class">eventemitter</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Form-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="Form-expanded"><a name="L14"></a><tt class="py-lineno"> 14</tt>  <tt class="py-line">    <tt class="py-docstring">""" ==class Form==</tt> </tt>
<a name="L15"></a><tt class="py-lineno"> 15</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L16"></a><tt class="py-lineno"> 16</tt>  <tt class="py-line"><tt class="py-docstring">    Implemented interfaces: IForm</tt> </tt>
<a name="L17"></a><tt class="py-lineno"> 17</tt>  <tt class="py-line"><tt class="py-docstring">    </tt> </tt>
<a name="L18"></a><tt class="py-lineno"> 18</tt>  <tt class="py-line"><tt class="py-docstring">    Forms play a role similar to the one controllers play in the MVC model.</tt> </tt>
<a name="L19"></a><tt class="py-lineno"> 19</tt>  <tt class="py-line"><tt class="py-docstring">    They serve as an interface between Record objects (the model), and </tt> </tt>
<a name="L20"></a><tt class="py-lineno"> 20</tt>  <tt class="py-line"><tt class="py-docstring">    GUI editors (the view).</tt> </tt>
<a name="L21"></a><tt class="py-lineno"> 21</tt>  <tt class="py-line"><tt class="py-docstring">    Each Form holds a reference to a Table object.</tt> </tt>
<a name="L22"></a><tt class="py-lineno"> 22</tt>  <tt class="py-line"><tt class="py-docstring">    </tt> </tt>
<a name="L23"></a><tt class="py-lineno"> 23</tt>  <tt class="py-line"><tt class="py-docstring">    The heart of a Form is a list of TkVariables, which are used by the GUI</tt> </tt>
<a name="L24"></a><tt class="py-lineno"> 24</tt>  <tt class="py-line"><tt class="py-docstring">    as data storage of the editor widgets. Forms trace all changes to the variables</tt> </tt>
<a name="L25"></a><tt class="py-lineno"> 25</tt>  <tt class="py-line"><tt class="py-docstring">    and propagate them to the Record objects.</tt> </tt>
<a name="L26"></a><tt class="py-lineno"> 26</tt>  <tt class="py-line"><tt class="py-docstring">    </tt> </tt>
<a name="L27"></a><tt class="py-lineno"> 27</tt>  <tt class="py-line"><tt class="py-docstring">    As far as Forms are concerned the Record objects are dumb. The Form does not register</tt> </tt>
<a name="L28"></a><tt class="py-lineno"> 28</tt>  <tt class="py-line"><tt class="py-docstring">    any handlers for Record's events, therefore all changes to the "current" record made</tt> </tt>
<a name="L29"></a><tt class="py-lineno"> 29</tt>  <tt class="py-line"><tt class="py-docstring">    directly to the Record (not through the traced variable interface), may be lost.</tt> </tt>
<a name="L30"></a><tt class="py-lineno"> 30</tt>  <tt class="py-line"><tt class="py-docstring">    </tt> </tt>
<a name="L31"></a><tt class="py-lineno"> 31</tt>  <tt class="py-line"><tt class="py-docstring">    instance variables worth mentioning:</tt> </tt>
<a name="L32"></a><tt class="py-lineno"> 32</tt>  <tt class="py-line"><tt class="py-docstring">    Form.table   -&gt;  reference to a Table object</tt> </tt>
<a name="L33"></a><tt class="py-lineno"> 33</tt>  <tt class="py-line"><tt class="py-docstring">    Form.current -&gt;  currently edited Record</tt> </tt>
<a name="L34"></a><tt class="py-lineno"> 34</tt>  <tt class="py-line"><tt class="py-docstring">    Form.tkvars  -&gt;  a field name-indexed hash of tk variables</tt> </tt>
<a name="L35"></a><tt class="py-lineno"> 35</tt>  <tt class="py-line"><tt class="py-docstring">    </tt> </tt>
<a name="L36"></a><tt class="py-lineno"> 36</tt>  <tt class="py-line"><tt class="py-docstring">    methods:</tt> </tt>
<a name="L37"></a><tt class="py-lineno"> 37</tt>  <tt class="py-line"><tt class="py-docstring">    save, reload, delete, new  -&gt;   database operations on the current record</tt> </tt>
<a name="L38"></a><tt class="py-lineno"> 38</tt>  <tt class="py-line"><tt class="py-docstring">    setid (objectid)  -&gt;  load a row identified by objectid into the current record</tt> </tt>
<a name="L39"></a><tt class="py-lineno"> 39</tt>  <tt class="py-line"><tt class="py-docstring">    </tt> </tt>
<a name="L40"></a><tt class="py-lineno"> 40</tt>  <tt class="py-line"><tt class="py-docstring">    Events raised by form objects:</tt> </tt>
<a name="L41"></a><tt class="py-lineno"> 41</tt>  <tt class="py-line"><tt class="py-docstring">    before_current_record_change - raised when a request to change the current record</tt> </tt>
<a name="L42"></a><tt class="py-lineno"> 42</tt>  <tt class="py-line"><tt class="py-docstring">    </tt> </tt>
<a name="L43"></a><tt class="py-lineno"> 43</tt>  <tt class="py-line"><tt class="py-docstring">    current_record_changed</tt> </tt>
<a name="L44"></a><tt class="py-lineno"> 44</tt>  <tt class="py-line"><tt class="py-docstring">    new_record</tt> </tt>
<a name="L45"></a><tt class="py-lineno"> 45</tt>  <tt class="py-line"><tt class="py-docstring">    data_loaded</tt> </tt>
<a name="L46"></a><tt class="py-lineno"> 46</tt>  <tt class="py-line"><tt class="py-docstring">    """</tt> </tt>
<a name="Form.__init__"></a><div id="Form.__init__-def"><a name="L47"></a><tt class="py-lineno"> 47</tt> <a class="py-toggle" href="#" id="Form.__init__-toggle" onclick="return toggle('Form.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="ProvCon.dbui.orm.form.Form-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">table</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-param">kkw</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Form.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Form.__init__-expanded"><a name="L48"></a><tt class="py-lineno"> 48</tt>  <tt class="py-line">        <tt id="link-14" class="py-name" targets="Class ProvCon.func.events.eventemitter=ProvCon.func.events.eventemitter-class.html"><a title="ProvCon.func.events.eventemitter" class="py-name" href="#" onclick="return doclink('link-14', 'eventemitter', 'link-14');">eventemitter</a></tt><tt class="py-op">.</tt><tt id="link-15" class="py-name" targets="Method ProvCon.TFTP.Protocol.Packet.__init__()=ProvCon.TFTP.Protocol.Packet-class.html#__init__,Method ProvCon.TFTP.ProvisioningTFTP.BaseOven.__init__()=ProvCon.TFTP.ProvisioningTFTP.BaseOven-class.html#__init__,Method ProvCon.TFTP.ProvisioningTFTP.CableModemConfigCook.__init__()=ProvCon.TFTP.ProvisioningTFTP.CableModemConfigCook-class.html#__init__,Method ProvCon.TFTP.ProvisioningTFTP.FileCook.__init__()=ProvCon.TFTP.ProvisioningTFTP.FileCook-class.html#__init__,Method ProvCon.TFTP.ProvisioningTFTP.ProvisioningTFTPServer.__init__()=ProvCon.TFTP.ProvisioningTFTP.ProvisioningTFTPServer-class.html#__init__,Method ProvCon.TFTP.ProvisioningTFTP.TFTPDataSender.__init__()=ProvCon.TFTP.ProvisioningTFTP.TFTPDataSender-class.html#__init__,Method ProvCon.TFTP.ProvisioningTFTP.pcTFTPD.__init__()=ProvCon.TFTP.ProvisioningTFTP.pcTFTPD-class.html#__init__,Method ProvCon.TFTP.Server.BaseTFTPServer.__init__()=ProvCon.TFTP.Server.BaseTFTPServer-class.html#__init__,Method ProvCon.cli.CLIServer.__init__()=ProvCon.cli.CLIServer-class.html#__init__,Method ProvCon.cli.CLIWorker.__init__()=ProvCon.cli.CLIWorker-class.html#__init__,Method ProvCon.dbui.abstractui.fields.BaseArrayEditor.__init__()=ProvCon.dbui.abstractui.fields.BaseArrayEditor-class.html#__init__,Method ProvCon.dbui.abstractui.fields.BaseArrayItemButtonBox.__init__()=ProvCon.dbui.abstractui.fields.BaseArrayItemButtonBox-class.html#__init__,Method ProvCon.dbui.abstractui.fields.BaseArrayItemEditor.__init__()=ProvCon.dbui.abstractui.fields.BaseArrayItemEditor-class.html#__init__,Method ProvCon.dbui.abstractui.fields.BaseFieldEditor.__init__()=ProvCon.dbui.abstractui.fields.BaseFieldEditor-class.html#__init__,Method ProvCon.dbui.abstractui.fields.BaseReferenceEditor.__init__()=ProvCon.dbui.abstractui.fields.BaseReferenceEditor-class.html#__init__,Method ProvCon.dbui.abstractui.forms.BaseForm.__init__()=ProvCon.dbui.abstractui.forms.BaseForm-class.html#__init__,Method ProvCon.dbui.abstractui.navigators.BaseNavigator.__init__()=ProvCon.dbui.abstractui.navigators.BaseNavigator-class.html#__init__,Method ProvCon.dbui.abstractui.recordlists.BasePager.__init__()=ProvCon.dbui.abstractui.recordlists.BasePager-class.html#__init__,Method ProvCon.dbui.abstractui.recordlists.BaseRecordList.__init__()=ProvCon.dbui.abstractui.recordlists.BaseRecordList-class.html#__init__,Method ProvCon.dbui.database.CFG.tCX.__init__()=ProvCon.dbui.database.CFG.tCX-class.html#__init__,Method ProvCon.dbui.di.rObject'.ObjectFlags.__init__()=ProvCon.dbui.di.rObject%27.ObjectFlags-class.html#__init__,Method ProvCon.dbui.di.rObject'.ObjectParams.__init__()=ProvCon.dbui.di.rObject%27.ObjectParams-class.html#__init__,Method ProvCon.dbui.di.rObject'.rObject.__init__()=ProvCon.dbui.di.rObject%27.rObject-class.html#__init__,Method ProvCon.dbui.meta.field.Field.__init__()=ProvCon.dbui.meta.field.Field-class.html#__init__,Method ProvCon.dbui.meta.table.Table.__init__()=ProvCon.dbui.meta.table.Table-class.html#__init__,Method ProvCon.dbui.orm.form.Form.__init__()=ProvCon.dbui.orm.form.Form-class.html#__init__,Method ProvCon.dbui.orm.record.Record.DataManipulationError.__init__()=ProvCon.dbui.orm.record.Record.DataManipulationError-class.html#__init__,Method ProvCon.dbui.orm.record.Record.DataQueryError.__init__()=ProvCon.dbui.orm.record.Record.DataQueryError-class.html#__init__,Method ProvCon.dbui.orm.record.Record.RecordNotFound.__init__()=ProvCon.dbui.orm.record.Record.RecordNotFound-class.html#__init__,Method ProvCon.dbui.orm.record.Record.__init__()=ProvCon.dbui.orm.record.Record-class.html#__init__,Method ProvCon.dbui.orm.recordlist.RecordList.__init__()=ProvCon.dbui.orm.recordlist.RecordList-class.html#__init__,Method ProvCon.dbui.orm.recordsearch.OIDSearchList.__init__()=ProvCon.dbui.orm.recordsearch.OIDSearchList-class.html#__init__,Method ProvCon.dbui.wxwin.complete.CompleteGenericForm.__init__()=ProvCon.dbui.wxwin.complete.CompleteGenericForm-class.html#__init__,Method ProvCon.dbui.wxwin.complete.FormToolbar.__init__()=ProvCon.dbui.wxwin.complete.FormToolbar-class.html#__init__,Method ProvCon.dbui.wxwin.complete.InfoPopup.__init__()=ProvCon.dbui.wxwin.complete.InfoPopup-class.html#__init__,Method ProvCon.dbui.wxwin.fields.Entry.ArrayCombo.__init__()=ProvCon.dbui.wxwin.fields.Entry.ArrayCombo-class.html#__init__,Method ProvCon.dbui.wxwin.fields.Entry.ArrayItemCombo.__init__()=ProvCon.dbui.wxwin.fields.Entry.ArrayItemCombo-class.html#__init__,Method ProvCon.dbui.wxwin.fields.Entry.ArrayItemStatic.__init__()=ProvCon.dbui.wxwin.fields.Entry.ArrayItemStatic-class.html#__init__,Method ProvCon.dbui.wxwin.fields.Entry.ArrayItemText.__init__()=ProvCon.dbui.wxwin.fields.Entry.ArrayItemText-class.html#__init__,Method ProvCon.dbui.wxwin.fields.Entry.ArrayText.__init__()=ProvCon.dbui.wxwin.fields.Entry.ArrayText-class.html#__init__,Method ProvCon.dbui.wxwin.fields.Entry.BaseArray.__init__()=ProvCon.dbui.wxwin.fields.Entry.BaseArray-class.html#__init__,Method ProvCon.dbui.wxwin.fields.Entry.Boolean.__init__()=ProvCon.dbui.wxwin.fields.Entry.Boolean-class.html#__init__,Method ProvCon.dbui.wxwin.fields.Entry.ComboReference.__init__()=ProvCon.dbui.wxwin.fields.Entry.ComboReference-class.html#__init__,Method ProvCon.dbui.wxwin.fields.Entry.Memo.__init__()=ProvCon.dbui.wxwin.fields.Entry.Memo-class.html#__init__,Method ProvCon.dbui.wxwin.fields.Entry.StandardArrayItemButtonBox.__init__()=ProvCon.dbui.wxwin.fields.Entry.StandardArrayItemButtonBox-class.html#__init__,Method ProvCon.dbui.wxwin.fields.Entry.Static.__init__()=ProvCon.dbui.wxwin.fields.Entry.Static-class.html#__init__,Method ProvCon.dbui.wxwin.fields.Entry.StaticReference.__init__()=ProvCon.dbui.wxwin.fields.Entry.StaticReference-class.html#__init__,Method ProvCon.dbui.wxwin.fields.Entry.Text.__init__()=ProvCon.dbui.wxwin.fields.Entry.Text-class.html#__init__,Method ProvCon.dbui.wxwin.forms.GenericForm.__init__()=ProvCon.dbui.wxwin.forms.GenericForm-class.html#__init__,Method ProvCon.dbui.wxwin.mwx.CheckBox.__init__()=ProvCon.dbui.wxwin.mwx.CheckBox-class.html#__init__,Method ProvCon.dbui.wxwin.mwx.ComboBox.__init__()=ProvCon.dbui.wxwin.mwx.ComboBox-class.html#__init__,Method ProvCon.dbui.wxwin.mwx.StaticText.__init__()=ProvCon.dbui.wxwin.mwx.StaticText-class.html#__init__,Method ProvCon.dbui.wxwin.mwx.TextCtrl.__init__()=ProvCon.dbui.wxwin.mwx.TextCtrl-class.html#__init__,Method ProvCon.dbui.wxwin.mwx.mwxControl.__init__()=ProvCon.dbui.wxwin.mwx.mwxControl-class.html#__init__,Method ProvCon.dbui.wxwin.navigators.Navigator.__init__()=ProvCon.dbui.wxwin.navigators.Navigator-class.html#__init__,Method ProvCon.dbui.wxwin.recordlists.RecordList.__init__()=ProvCon.dbui.wxwin.recordlists.RecordList-class.html#__init__,Method ProvCon.docsis.cablemodem.cablemodem.__init__()=ProvCon.docsis.cablemodem.cablemodem-class.html#__init__,Method ProvCon.docsis.cablemodem.cablemodem._cos.__init__()=ProvCon.docsis.cablemodem.cablemodem._cos-class.html#__init__,Method ProvCon.docsis.cablemodem.cablemodem._cpe.__init__()=ProvCon.docsis.cablemodem.cablemodem._cpe-class.html#__init__,Method ProvCon.docsis.cablemodem.cablemodem._mac.__init__()=ProvCon.docsis.cablemodem.cablemodem._mac-class.html#__init__,Method ProvCon.docsis.compiler.config.config.__init__()=ProvCon.docsis.compiler.config.config-class.html#__init__,Method ProvCon.docsis.compiler.encoder.error.__init__()=ProvCon.docsis.compiler.encoder.error-class.html#__init__,Method ProvCon.docsis.compiler.encoder.tlv.__init__()=ProvCon.docsis.compiler.encoder.tlv-class.html#__init__,Method ProvCon.docsis.compiler.encoder.tlv_multipart.__init__()=ProvCon.docsis.compiler.encoder.tlv_multipart-class.html#__init__,Method ProvCon.docsis.compiler.encoder.tlv_multipart.append_proxy.__init__()=ProvCon.docsis.compiler.encoder.tlv_multipart.append_proxy-class.html#__init__,Method ProvCon.docsis.compiler.encoder.tlv_multipart.iterator.__init__()=ProvCon.docsis.compiler.encoder.tlv_multipart.iterator-class.html#__init__,Method ProvCon.docsis.compiler.encoder.tlv_multipart_subclass.__init__()=ProvCon.docsis.compiler.encoder.tlv_multipart_subclass-class.html#__init__,Method ProvCon.docsis.compiler.encoder.tlv_subclass.__init__()=ProvCon.docsis.compiler.encoder.tlv_subclass-class.html#__init__,Method ProvCon.func.classes.conditionalmethod.__init__()=ProvCon.func.classes.conditionalmethod-class.html#__init__,Method ProvCon.func.events.eventemitter.__init__()=ProvCon.func.events.eventemitter-class.html#__init__,Method ProvCon.func.events.eventemitter.evt.__init__()=ProvCon.func.events.eventemitter.evt-class.html#__init__,Method ProvCon.func.events.eventemitter.evthook.__init__()=ProvCon.func.events.eventemitter.evthook-class.html#__init__,Method ProvCon.func.events.eventexception.__init__()=ProvCon.func.events.eventexception-class.html#__init__,Method ProvCon.func.variables.TracedVariable.Tracer.__init__()=ProvCon.func.variables.TracedVariable.Tracer-class.html#__init__,Method ProvCon.func.variables.TracedVariable.__init__()=ProvCon.func.variables.TracedVariable-class.html#__init__,Method ProvCon.gui.FrontEndApp.FE.__init__()=ProvCon.gui.FrontEndApp.FE-class.html#__init__,Method ProvCon.gui.ProvisioningControl.GenericObjectEditor.__init__()=ProvCon.gui.ProvisioningControl.GenericObjectEditor-class.html#__init__,Method ProvCon.gui.ProvisioningControl.GridView.__init__()=ProvCon.gui.ProvisioningControl.GridView-class.html#__init__,Method ProvCon.gui.ProvisioningControl.MainTab.__init__()=ProvCon.gui.ProvisioningControl.MainTab-class.html#__init__,Method ProvCon.gui.ProvisioningControl.ObjectEditorModel.__init__()=ProvCon.gui.ProvisioningControl.ObjectEditorModel-class.html#__init__,Method ProvCon.gui.ProvisioningControl.TopLevelWindow.__init__()=ProvCon.gui.ProvisioningControl.TopLevelWindow-class.html#__init__,Method ProvCon.log.LoggingBackend.__init__()=ProvCon.log.LoggingBackend-class.html#__init__,Method ProvCon.log.LoggingClient.__init__()=ProvCon.log.LoggingClient-class.html#__init__,Method ProvCon.log.LoggingServer.__init__()=ProvCon.log.LoggingServer-class.html#__init__,Method ProvCon.ui.uierror.__init__()=ProvCon.ui.uierror-class.html#__init__,Method ProvCon.wronolib.ipaddr.ip4addr.__init__()=ProvCon.wronolib.ipaddr.ip4addr-class.html#__init__,Method ProvCon.wronolib.ipaddr.ip4prefix.__init__()=ProvCon.wronolib.ipaddr.ip4prefix-class.html#__init__"><a title="ProvCon.TFTP.Protocol.Packet.__init__
ProvCon.TFTP.ProvisioningTFTP.BaseOven.__init__
ProvCon.TFTP.ProvisioningTFTP.CableModemConfigCook.__init__
ProvCon.TFTP.ProvisioningTFTP.FileCook.__init__
ProvCon.TFTP.ProvisioningTFTP.ProvisioningTFTPServer.__init__
ProvCon.TFTP.ProvisioningTFTP.TFTPDataSender.__init__
ProvCon.TFTP.ProvisioningTFTP.pcTFTPD.__init__
ProvCon.TFTP.Server.BaseTFTPServer.__init__
ProvCon.cli.CLIServer.__init__
ProvCon.cli.CLIWorker.__init__
ProvCon.dbui.abstractui.fields.BaseArrayEditor.__init__
ProvCon.dbui.abstractui.fields.BaseArrayItemButtonBox.__init__
ProvCon.dbui.abstractui.fields.BaseArrayItemEditor.__init__
ProvCon.dbui.abstractui.fields.BaseFieldEditor.__init__
ProvCon.dbui.abstractui.fields.BaseReferenceEditor.__init__
ProvCon.dbui.abstractui.forms.BaseForm.__init__
ProvCon.dbui.abstractui.navigators.BaseNavigator.__init__
ProvCon.dbui.abstractui.recordlists.BasePager.__init__
ProvCon.dbui.abstractui.recordlists.BaseRecordList.__init__
ProvCon.dbui.database.CFG.tCX.__init__
ProvCon.dbui.di.rObject'.ObjectFlags.__init__
ProvCon.dbui.di.rObject'.ObjectParams.__init__
ProvCon.dbui.di.rObject'.rObject.__init__
ProvCon.dbui.meta.field.Field.__init__
ProvCon.dbui.meta.table.Table.__init__
ProvCon.dbui.orm.form.Form.__init__
ProvCon.dbui.orm.record.Record.DataManipulationError.__init__
ProvCon.dbui.orm.record.Record.DataQueryError.__init__
ProvCon.dbui.orm.record.Record.RecordNotFound.__init__
ProvCon.dbui.orm.record.Record.__init__
ProvCon.dbui.orm.recordlist.RecordList.__init__
ProvCon.dbui.orm.recordsearch.OIDSearchList.__init__
ProvCon.dbui.wxwin.complete.CompleteGenericForm.__init__
ProvCon.dbui.wxwin.complete.FormToolbar.__init__
ProvCon.dbui.wxwin.complete.InfoPopup.__init__
ProvCon.dbui.wxwin.fields.Entry.ArrayCombo.__init__
ProvCon.dbui.wxwin.fields.Entry.ArrayItemCombo.__init__
ProvCon.dbui.wxwin.fields.Entry.ArrayItemStatic.__init__
ProvCon.dbui.wxwin.fields.Entry.ArrayItemText.__init__
ProvCon.dbui.wxwin.fields.Entry.ArrayText.__init__
ProvCon.dbui.wxwin.fields.Entry.BaseArray.__init__
ProvCon.dbui.wxwin.fields.Entry.Boolean.__init__
ProvCon.dbui.wxwin.fields.Entry.ComboReference.__init__
ProvCon.dbui.wxwin.fields.Entry.Memo.__init__
ProvCon.dbui.wxwin.fields.Entry.StandardArrayItemButtonBox.__init__
ProvCon.dbui.wxwin.fields.Entry.Static.__init__
ProvCon.dbui.wxwin.fields.Entry.StaticReference.__init__
ProvCon.dbui.wxwin.fields.Entry.Text.__init__
ProvCon.dbui.wxwin.forms.GenericForm.__init__
ProvCon.dbui.wxwin.mwx.CheckBox.__init__
ProvCon.dbui.wxwin.mwx.ComboBox.__init__
ProvCon.dbui.wxwin.mwx.StaticText.__init__
ProvCon.dbui.wxwin.mwx.TextCtrl.__init__
ProvCon.dbui.wxwin.mwx.mwxControl.__init__
ProvCon.dbui.wxwin.navigators.Navigator.__init__
ProvCon.dbui.wxwin.recordlists.RecordList.__init__
ProvCon.docsis.cablemodem.cablemodem.__init__
ProvCon.docsis.cablemodem.cablemodem._cos.__init__
ProvCon.docsis.cablemodem.cablemodem._cpe.__init__
ProvCon.docsis.cablemodem.cablemodem._mac.__init__
ProvCon.docsis.compiler.config.config.__init__
ProvCon.docsis.compiler.encoder.error.__init__
ProvCon.docsis.compiler.encoder.tlv.__init__
ProvCon.docsis.compiler.encoder.tlv_multipart.__init__
ProvCon.docsis.compiler.encoder.tlv_multipart.append_proxy.__init__
ProvCon.docsis.compiler.encoder.tlv_multipart.iterator.__init__
ProvCon.docsis.compiler.encoder.tlv_multipart_subclass.__init__
ProvCon.docsis.compiler.encoder.tlv_subclass.__init__
ProvCon.func.classes.conditionalmethod.__init__
ProvCon.func.events.eventemitter.__init__
ProvCon.func.events.eventemitter.evt.__init__
ProvCon.func.events.eventemitter.evthook.__init__
ProvCon.func.events.eventexception.__init__
ProvCon.func.variables.TracedVariable.Tracer.__init__
ProvCon.func.variables.TracedVariable.__init__
ProvCon.gui.FrontEndApp.FE.__init__
ProvCon.gui.ProvisioningControl.GenericObjectEditor.__init__
ProvCon.gui.ProvisioningControl.GridView.__init__
ProvCon.gui.ProvisioningControl.MainTab.__init__
ProvCon.gui.ProvisioningControl.ObjectEditorModel.__init__
ProvCon.gui.ProvisioningControl.TopLevelWindow.__init__
ProvCon.log.LoggingBackend.__init__
ProvCon.log.LoggingClient.__init__
ProvCon.log.LoggingServer.__init__
ProvCon.ui.uierror.__init__
ProvCon.wronolib.ipaddr.ip4addr.__init__
ProvCon.wronolib.ipaddr.ip4prefix.__init__" class="py-name" href="#" onclick="return doclink('link-15', '__init__', 'link-15');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt>                                </tt>
<a name="L49"></a><tt class="py-lineno"> 49</tt>  <tt class="py-line">                              <tt class="py-op">[</tt> <tt class="py-string">"request_record_change"</tt><tt class="py-op">,</tt> </tt>
<a name="L50"></a><tt class="py-lineno"> 50</tt>  <tt class="py-line">                                <tt class="py-string">"current_record_changed"</tt><tt class="py-op">,</tt> </tt>
<a name="L51"></a><tt class="py-lineno"> 51</tt>  <tt class="py-line">                                <tt class="py-string">"current_record_modified"</tt><tt class="py-op">,</tt> </tt>
<a name="L52"></a><tt class="py-lineno"> 52</tt>  <tt class="py-line">                                <tt class="py-string">"current_record_deleted"</tt><tt class="py-op">,</tt> </tt>
<a name="L53"></a><tt class="py-lineno"> 53</tt>  <tt class="py-line">                                <tt class="py-string">"current_record_saved"</tt><tt class="py-op">,</tt> </tt>
<a name="L54"></a><tt class="py-lineno"> 54</tt>  <tt class="py-line">                                <tt class="py-string">"navigate"</tt><tt class="py-op">,</tt> </tt>
<a name="L55"></a><tt class="py-lineno"> 55</tt>  <tt class="py-line">                                <tt class="py-string">"new_record"</tt><tt class="py-op">,</tt>  </tt>
<a name="L56"></a><tt class="py-lineno"> 56</tt>  <tt class="py-line">                                <tt class="py-string">"data_loaded"</tt> <tt class="py-op">]</tt>  </tt>
<a name="L57"></a><tt class="py-lineno"> 57</tt>  <tt class="py-line">                              <tt class="py-op">)</tt> </tt>
<a name="L58"></a><tt class="py-lineno"> 58</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-16" class="py-name" targets="Method ProvCon.dbui.orm.form.Form.on_record_changed_handler()=ProvCon.dbui.orm.form.Form-class.html#on_record_changed_handler"><a title="ProvCon.dbui.orm.form.Form.on_record_changed_handler" class="py-name" href="#" onclick="return doclink('link-16', 'on_record_changed_handler', 'link-16');">on_record_changed_handler</a></tt> <tt class="py-op">=</tt> <tt id="link-17" class="py-name" targets="Class ProvCon.func.classes.conditionalmethod=ProvCon.func.classes.conditionalmethod-class.html"><a title="ProvCon.func.classes.conditionalmethod" class="py-name" href="#" onclick="return doclink('link-17', 'conditionalmethod', 'link-17');">conditionalmethod</a></tt> <tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-18" class="py-name"><a title="ProvCon.dbui.orm.form.Form.on_record_changed_handler" class="py-name" href="#" onclick="return doclink('link-18', 'on_record_changed_handler', 'link-16');">on_record_changed_handler</a></tt><tt class="py-op">)</tt> </tt>
<a name="L59"></a><tt class="py-lineno"> 59</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-19" class="py-name" targets="Method ProvCon.dbui.orm.form.Form.value_change_handler()=ProvCon.dbui.orm.form.Form-class.html#value_change_handler"><a title="ProvCon.dbui.orm.form.Form.value_change_handler" class="py-name" href="#" onclick="return doclink('link-19', 'value_change_handler', 'link-19');">value_change_handler</a></tt> <tt class="py-op">=</tt> <tt id="link-20" class="py-name"><a title="ProvCon.func.classes.conditionalmethod" class="py-name" href="#" onclick="return doclink('link-20', 'conditionalmethod', 'link-17');">conditionalmethod</a></tt> <tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-21" class="py-name"><a title="ProvCon.dbui.orm.form.Form.value_change_handler" class="py-name" href="#" onclick="return doclink('link-21', 'value_change_handler', 'link-19');">value_change_handler</a></tt><tt class="py-op">)</tt> </tt>
<a name="L60"></a><tt class="py-lineno"> 60</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-22" class="py-name" targets="Method ProvCon.dbui.orm.form.Form.on_edit_handler()=ProvCon.dbui.orm.form.Form-class.html#on_edit_handler"><a title="ProvCon.dbui.orm.form.Form.on_edit_handler" class="py-name" href="#" onclick="return doclink('link-22', 'on_edit_handler', 'link-22');">on_edit_handler</a></tt> <tt class="py-op">=</tt> <tt id="link-23" class="py-name"><a title="ProvCon.func.classes.conditionalmethod" class="py-name" href="#" onclick="return doclink('link-23', 'conditionalmethod', 'link-17');">conditionalmethod</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-24" class="py-name"><a title="ProvCon.dbui.orm.form.Form.on_edit_handler" class="py-name" href="#" onclick="return doclink('link-24', 'on_edit_handler', 'link-22');">on_edit_handler</a></tt><tt class="py-op">)</tt> </tt>
<a name="L61"></a><tt class="py-lineno"> 61</tt>  <tt class="py-line"> </tt>
<a name="L62"></a><tt class="py-lineno"> 62</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">variableclass</tt> <tt class="py-op">=</tt> <tt class="py-name">kkw</tt><tt class="py-op">.</tt><tt id="link-25" class="py-name" targets="Method ProvCon.dbui.orm.recordsearch.OIDSearchList.get()=ProvCon.dbui.orm.recordsearch.OIDSearchList-class.html#get,Method ProvCon.func.variables.TracedVariable.get()=ProvCon.func.variables.TracedVariable-class.html#get"><a title="ProvCon.dbui.orm.recordsearch.OIDSearchList.get
ProvCon.func.variables.TracedVariable.get" class="py-name" href="#" onclick="return doclink('link-25', 'get', 'link-25');">get</a></tt> <tt class="py-op">(</tt> <tt class="py-string">"variableclass"</tt> <tt class="py-op">,</tt> <tt class="py-name">StringVar</tt> <tt class="py-op">)</tt> </tt>
<a name="L63"></a><tt class="py-lineno"> 63</tt>  <tt class="py-line">         </tt>
<a name="L64"></a><tt class="py-lineno"> 64</tt>  <tt class="py-line">        <tt class="py-keyword">from</tt> <tt id="link-26" class="py-name" targets="Module ProvCon.dbui.orm.record=ProvCon.dbui.orm.record-module.html"><a title="ProvCon.dbui.orm.record" class="py-name" href="#" onclick="return doclink('link-26', 'record', 'link-26');">record</a></tt> <tt class="py-keyword">import</tt> <tt id="link-27" class="py-name" targets="Class ProvCon.dbui.orm.record.Record=ProvCon.dbui.orm.record.Record-class.html"><a title="ProvCon.dbui.orm.record.Record" class="py-name" href="#" onclick="return doclink('link-27', 'Record', 'link-27');">Record</a></tt> </tt>
<a name="L65"></a><tt class="py-lineno"> 65</tt>  <tt class="py-line">        <tt class="py-keyword">from</tt> <tt id="link-28" class="py-name"><a title="ProvCon.dbui.orm.record" class="py-name" href="#" onclick="return doclink('link-28', 'record', 'link-26');">record</a></tt> <tt class="py-keyword">import</tt> <tt id="link-29" class="py-name" targets="Class ProvCon.dbui.orm.errors.ORMError=ProvCon.dbui.orm.errors.ORMError-class.html"><a title="ProvCon.dbui.orm.errors.ORMError" class="py-name" href="#" onclick="return doclink('link-29', 'ORMError', 'link-29');">ORMError</a></tt>  </tt>
<a name="L66"></a><tt class="py-lineno"> 66</tt>  <tt class="py-line">        <tt class="py-keyword">from</tt> <tt id="link-30" class="py-name"><a title="ProvCon" class="py-name" href="#" onclick="return doclink('link-30', 'ProvCon', 'link-0');">ProvCon</a></tt><tt class="py-op">.</tt><tt id="link-31" class="py-name"><a title="ProvCon.dbui" class="py-name" href="#" onclick="return doclink('link-31', 'dbui', 'link-5');">dbui</a></tt><tt class="py-op">.</tt><tt id="link-32" class="py-name" targets="Module ProvCon.dbui.database=ProvCon.dbui.database-module.html"><a title="ProvCon.dbui.database" class="py-name" href="#" onclick="return doclink('link-32', 'database', 'link-32');">database</a></tt> <tt class="py-keyword">import</tt> <tt id="link-33" class="py-name" targets="Function ProvCon.dbui.database.RaiseDBException()=ProvCon.dbui.database-module.html#RaiseDBException"><a title="ProvCon.dbui.database.RaiseDBException" class="py-name" href="#" onclick="return doclink('link-33', 'RaiseDBException', 'link-33');">RaiseDBException</a></tt> </tt>
<a name="L67"></a><tt class="py-lineno"> 67</tt>  <tt class="py-line"> </tt>
<a name="L68"></a><tt class="py-lineno"> 68</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">ormerror</tt> <tt class="py-op">=</tt> <tt id="link-34" class="py-name"><a title="ProvCon.dbui.orm.errors.ORMError" class="py-name" href="#" onclick="return doclink('link-34', 'ORMError', 'link-29');">ORMError</a></tt> </tt>
<a name="L69"></a><tt class="py-lineno"> 69</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">ormerrorhandler</tt> <tt class="py-op">=</tt> <tt id="link-35" class="py-name"><a title="ProvCon.dbui.database.RaiseDBException" class="py-name" href="#" onclick="return doclink('link-35', 'RaiseDBException', 'link-33');">RaiseDBException</a></tt> </tt>
<a name="L70"></a><tt class="py-lineno"> 70</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-36" class="py-name" targets="Module ProvCon.dbui.meta.table=ProvCon.dbui.meta.table-module.html"><a title="ProvCon.dbui.meta.table" class="py-name" href="#" onclick="return doclink('link-36', 'table', 'link-36');">table</a></tt> <tt class="py-op">=</tt> <tt id="link-37" class="py-name"><a title="ProvCon.dbui.meta.table" class="py-name" href="#" onclick="return doclink('link-37', 'table', 'link-36');">table</a></tt> </tt>
<a name="L71"></a><tt class="py-lineno"> 71</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-38" class="py-name" targets="Variable ProvCon.dbui.API.IRecordHolder.current=ProvCon.dbui.API.IRecordHolder-class.html#current,Variable ProvCon.dbui.orm.form.Form.current=ProvCon.dbui.orm.form.Form-class.html#current"><a title="ProvCon.dbui.API.IRecordHolder.current
ProvCon.dbui.orm.form.Form.current" class="py-name" href="#" onclick="return doclink('link-38', 'current', 'link-38');">current</a></tt> <tt class="py-op">=</tt> <tt id="link-39" class="py-name"><a title="ProvCon.dbui.orm.record.Record" class="py-name" href="#" onclick="return doclink('link-39', 'Record', 'link-27');">Record</a></tt><tt class="py-op">.</tt><tt id="link-40" class="py-name" targets="Static Method ProvCon.dbui.orm.record.Record.EMPTY()=ProvCon.dbui.orm.record.Record-class.html#EMPTY"><a title="ProvCon.dbui.orm.record.Record.EMPTY" class="py-name" href="#" onclick="return doclink('link-40', 'EMPTY', 'link-40');">EMPTY</a></tt> <tt class="py-op">(</tt><tt id="link-41" class="py-name"><a title="ProvCon.dbui.meta.table" class="py-name" href="#" onclick="return doclink('link-41', 'table', 'link-36');">table</a></tt><tt class="py-op">.</tt><tt class="py-name">name</tt><tt class="py-op">)</tt> </tt>
<a name="L72"></a><tt class="py-lineno"> 72</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">tkvars</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt> </tt>
<a name="L73"></a><tt class="py-lineno"> 73</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">modification_notification</tt> <tt class="py-op">=</tt> <tt class="py-name">False</tt> </tt>
<a name="L74"></a><tt class="py-lineno"> 74</tt>  <tt class="py-line">         </tt>
<a name="L75"></a><tt class="py-lineno"> 75</tt>  <tt class="py-line">        <tt class="py-keyword">for</tt> <tt class="py-name">f</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-42" class="py-name"><a title="ProvCon.dbui.meta.table" class="py-name" href="#" onclick="return doclink('link-42', 'table', 'link-36');">table</a></tt><tt class="py-op">:</tt> </tt>
<a name="L76"></a><tt class="py-lineno"> 76</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">tkvars</tt><tt class="py-op">[</tt><tt class="py-name">f</tt><tt class="py-op">.</tt><tt class="py-name">name</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">variableclass</tt><tt class="py-op">(</tt> <tt class="py-name">name</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-43" class="py-name"><a title="ProvCon.dbui.meta.table" class="py-name" href="#" onclick="return doclink('link-43', 'table', 'link-36');">table</a></tt><tt class="py-op">.</tt><tt class="py-name">name</tt> <tt class="py-op">+</tt> <tt class="py-string">"."</tt> <tt class="py-op">+</tt> <tt class="py-name">f</tt><tt class="py-op">.</tt><tt class="py-name">name</tt><tt class="py-op">)</tt> </tt>
<a name="L77"></a><tt class="py-lineno"> 77</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">tkvars</tt><tt class="py-op">[</tt><tt class="py-name">f</tt><tt class="py-op">.</tt><tt class="py-name">name</tt><tt class="py-op">]</tt><tt class="py-op">.</tt><tt id="link-44" class="py-name" targets="Method ProvCon.func.variables.TracedVariable.trace()=ProvCon.func.variables.TracedVariable-class.html#trace"><a title="ProvCon.func.variables.TracedVariable.trace" class="py-name" href="#" onclick="return doclink('link-44', 'trace', 'link-44');">trace</a></tt> <tt class="py-op">(</tt> <tt class="py-string">'w'</tt><tt class="py-op">,</tt> <tt id="link-45" class="py-name" targets="Function ProvCon.docsis.compiler.tlvdef.partial()=ProvCon.docsis.compiler.tlvdef-module.html#partial,Function ProvCon.func.functions.partial()=ProvCon.func.functions-module.html#partial"><a title="ProvCon.docsis.compiler.tlvdef.partial
ProvCon.func.functions.partial" class="py-name" href="#" onclick="return doclink('link-45', 'partial', 'link-45');">partial</a></tt> <tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-46" class="py-name"><a title="ProvCon.dbui.orm.form.Form.value_change_handler" class="py-name" href="#" onclick="return doclink('link-46', 'value_change_handler', 'link-19');">value_change_handler</a></tt><tt class="py-op">,</tt> <tt class="py-name">f</tt><tt class="py-op">.</tt><tt class="py-name">name</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-name">name</tt><tt class="py-op">=</tt><tt class="py-string">"form of "</tt> <tt class="py-op">+</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-47" class="py-name"><a title="ProvCon.dbui.meta.table" class="py-name" href="#" onclick="return doclink('link-47', 'table', 'link-36');">table</a></tt><tt class="py-op">.</tt><tt class="py-name">name</tt> <tt class="py-op">)</tt>  </tt>
<a name="L78"></a><tt class="py-lineno"> 78</tt>  <tt class="py-line">         </tt>
<a name="L79"></a><tt class="py-lineno"> 79</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">defaultvalues</tt> <tt class="py-op">=</tt> <tt class="py-name">kkw</tt><tt class="py-op">.</tt><tt id="link-48" class="py-name"><a title="ProvCon.dbui.orm.recordsearch.OIDSearchList.get
ProvCon.func.variables.TracedVariable.get" class="py-name" href="#" onclick="return doclink('link-48', 'get', 'link-25');">get</a></tt> <tt class="py-op">(</tt> <tt class="py-string">"defaults"</tt><tt class="py-op">,</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt> <tt class="py-op">)</tt> </tt>
</div><a name="L80"></a><tt class="py-lineno"> 80</tt>  <tt class="py-line"> </tt>
<a name="Form.get_current_record"></a><div id="Form.get_current_record-def"><a name="L81"></a><tt class="py-lineno"> 81</tt> <a class="py-toggle" href="#" id="Form.get_current_record-toggle" onclick="return toggle('Form.get_current_record');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="ProvCon.dbui.orm.form.Form-class.html#get_current_record">get_current_record</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Form.get_current_record-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Form.get_current_record-expanded"><a name="L82"></a><tt class="py-lineno"> 82</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__current</tt> </tt>
</div><a name="Form.set_current_record"></a><div id="Form.set_current_record-def"><a name="L83"></a><tt class="py-lineno"> 83</tt> <a class="py-toggle" href="#" id="Form.set_current_record-toggle" onclick="return toggle('Form.set_current_record');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="ProvCon.dbui.orm.form.Form-class.html#set_current_record">set_current_record</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">r</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Form.set_current_record-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Form.set_current_record-expanded"><a name="L84"></a><tt class="py-lineno"> 84</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__current</tt> <tt class="py-op">=</tt> <tt class="py-name">r</tt> </tt>
</div><a name="L85"></a><tt class="py-lineno"> 85</tt>  <tt class="py-line">    <tt id="link-49" class="py-name"><a title="ProvCon.dbui.API.IRecordHolder.current
ProvCon.dbui.orm.form.Form.current" class="py-name" href="#" onclick="return doclink('link-49', 'current', 'link-38');">current</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt id="link-50" class="py-name" targets="Method ProvCon.dbui.abstractui.recordlists.BaseRecordList.get_current_record()=ProvCon.dbui.abstractui.recordlists.BaseRecordList-class.html#get_current_record,Method ProvCon.dbui.orm.form.Form.get_current_record()=ProvCon.dbui.orm.form.Form-class.html#get_current_record"><a title="ProvCon.dbui.abstractui.recordlists.BaseRecordList.get_current_record
ProvCon.dbui.orm.form.Form.get_current_record" class="py-name" href="#" onclick="return doclink('link-50', 'get_current_record', 'link-50');">get_current_record</a></tt><tt class="py-op">,</tt> <tt id="link-51" class="py-name" targets="Method ProvCon.dbui.abstractui.recordlists.BaseRecordList.set_current_record()=ProvCon.dbui.abstractui.recordlists.BaseRecordList-class.html#set_current_record,Method ProvCon.dbui.orm.form.Form.set_current_record()=ProvCon.dbui.orm.form.Form-class.html#set_current_record"><a title="ProvCon.dbui.abstractui.recordlists.BaseRecordList.set_current_record
ProvCon.dbui.orm.form.Form.set_current_record" class="py-name" href="#" onclick="return doclink('link-51', 'set_current_record', 'link-51');">set_current_record</a></tt><tt class="py-op">)</tt> </tt>
<a name="L86"></a><tt class="py-lineno"> 86</tt>  <tt class="py-line">         </tt>
<a name="Form.getvar"></a><div id="Form.getvar-def"><a name="L87"></a><tt class="py-lineno"> 87</tt> <a class="py-toggle" href="#" id="Form.getvar-toggle" onclick="return toggle('Form.getvar');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="ProvCon.dbui.orm.form.Form-class.html#getvar">getvar</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">fieldname</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Form.getvar-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Form.getvar-expanded"><a name="L88"></a><tt class="py-lineno"> 88</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">tkvars</tt><tt class="py-op">[</tt><tt class="py-name">fieldname</tt><tt class="py-op">]</tt> </tt>
</div><a name="L89"></a><tt class="py-lineno"> 89</tt>  <tt class="py-line">     </tt>
<a name="Form.save"></a><div id="Form.save-def"><a name="L90"></a><tt class="py-lineno"> 90</tt> <a class="py-toggle" href="#" id="Form.save-toggle" onclick="return toggle('Form.save');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="ProvCon.dbui.orm.form.Form-class.html#save">save</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Form.save-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Form.save-expanded"><a name="L91"></a><tt class="py-lineno"> 91</tt>  <tt class="py-line">        <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L92"></a><tt class="py-lineno"> 92</tt>  <tt class="py-line">            <tt class="py-name">wasnew</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-52" class="py-name"><a title="ProvCon.dbui.API.IRecordHolder.current
ProvCon.dbui.orm.form.Form.current" class="py-name" href="#" onclick="return doclink('link-52', 'current', 'link-38');">current</a></tt><tt class="py-op">.</tt><tt class="py-name">_isnew</tt> </tt>
<a name="L93"></a><tt class="py-lineno"> 93</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-53" class="py-name"><a title="ProvCon.dbui.API.IRecordHolder.current
ProvCon.dbui.orm.form.Form.current" class="py-name" href="#" onclick="return doclink('link-53', 'current', 'link-38');">current</a></tt><tt class="py-op">.</tt><tt id="link-54" class="py-name" targets="Method ProvCon.dbui.orm.record.Record.write()=ProvCon.dbui.orm.record.Record-class.html#write"><a title="ProvCon.dbui.orm.record.Record.write" class="py-name" href="#" onclick="return doclink('link-54', 'write', 'link-54');">write</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt>         </tt>
<a name="L94"></a><tt class="py-lineno"> 94</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-55" class="py-name"><a title="ProvCon.dbui.orm.form.Form.on_record_changed_handler" class="py-name" href="#" onclick="return doclink('link-55', 'on_record_changed_handler', 'link-16');">on_record_changed_handler</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L95"></a><tt class="py-lineno"> 95</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-56" class="py-name" targets="Method ProvCon.func.events.eventemitter.emit_event()=ProvCon.func.events.eventemitter-class.html#emit_event"><a title="ProvCon.func.events.eventemitter.emit_event" class="py-name" href="#" onclick="return doclink('link-56', 'emit_event', 'link-56');">emit_event</a></tt> <tt class="py-op">(</tt> <tt class="py-string">"current_record_saved"</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-57" class="py-name"><a title="ProvCon.dbui.API.IRecordHolder.current
ProvCon.dbui.orm.form.Form.current" class="py-name" href="#" onclick="return doclink('link-57', 'current', 'link-38');">current</a></tt><tt class="py-op">,</tt> <tt class="py-name">wasnew</tt> <tt class="py-op">)</tt> </tt>
<a name="L96"></a><tt class="py-lineno"> 96</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">modification_notification</tt> <tt class="py-op">=</tt> <tt class="py-name">False</tt> </tt>
<a name="L97"></a><tt class="py-lineno"> 97</tt>  <tt class="py-line">        <tt class="py-keyword">except</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">ormerror</tt><tt class="py-op">,</tt> <tt class="py-name">e</tt><tt class="py-op">:</tt> </tt>
<a name="L98"></a><tt class="py-lineno"> 98</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">ormerrorhandler</tt> <tt class="py-op">(</tt><tt class="py-name">e</tt><tt class="py-op">)</tt> </tt>
</div><a name="L99"></a><tt class="py-lineno"> 99</tt>  <tt class="py-line"> </tt>
<a name="Form.revert"></a><div id="Form.revert-def"><a name="L100"></a><tt class="py-lineno">100</tt> <a class="py-toggle" href="#" id="Form.revert-toggle" onclick="return toggle('Form.revert');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="ProvCon.dbui.orm.form.Form-class.html#revert">revert</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Form.revert-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Form.revert-expanded"><a name="L101"></a><tt class="py-lineno">101</tt>  <tt class="py-line">        <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L102"></a><tt class="py-lineno">102</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-58" class="py-name"><a title="ProvCon.dbui.API.IRecordHolder.current
ProvCon.dbui.orm.form.Form.current" class="py-name" href="#" onclick="return doclink('link-58', 'current', 'link-38');">current</a></tt><tt class="py-op">.</tt><tt id="link-59" class="py-name" targets="Method ProvCon.dbui.orm.record.Record.read()=ProvCon.dbui.orm.record.Record-class.html#read"><a title="ProvCon.dbui.orm.record.Record.read" class="py-name" href="#" onclick="return doclink('link-59', 'read', 'link-59');">read</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L103"></a><tt class="py-lineno">103</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-60" class="py-name"><a title="ProvCon.dbui.orm.form.Form.on_record_changed_handler" class="py-name" href="#" onclick="return doclink('link-60', 'on_record_changed_handler', 'link-16');">on_record_changed_handler</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt>         </tt>
<a name="L104"></a><tt class="py-lineno">104</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-61" class="py-name"><a title="ProvCon.func.events.eventemitter.emit_event" class="py-name" href="#" onclick="return doclink('link-61', 'emit_event', 'link-56');">emit_event</a></tt> <tt class="py-op">(</tt> <tt class="py-string">"data_loaded"</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-62" class="py-name"><a title="ProvCon.dbui.API.IRecordHolder.current
ProvCon.dbui.orm.form.Form.current" class="py-name" href="#" onclick="return doclink('link-62', 'current', 'link-38');">current</a></tt> <tt class="py-op">)</tt> </tt>
<a name="L105"></a><tt class="py-lineno">105</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-63" class="py-name"><a title="ProvCon.func.events.eventemitter.emit_event" class="py-name" href="#" onclick="return doclink('link-63', 'emit_event', 'link-56');">emit_event</a></tt> <tt class="py-op">(</tt> <tt class="py-string">"navigate"</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-64" class="py-name"><a title="ProvCon.dbui.API.IRecordHolder.current
ProvCon.dbui.orm.form.Form.current" class="py-name" href="#" onclick="return doclink('link-64', 'current', 'link-38');">current</a></tt><tt class="py-op">.</tt><tt class="py-name">objectid</tt> <tt class="py-op">)</tt> </tt>
<a name="L106"></a><tt class="py-lineno">106</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">modification_notification</tt> <tt class="py-op">=</tt> <tt class="py-name">False</tt> </tt>
<a name="L107"></a><tt class="py-lineno">107</tt>  <tt class="py-line">        <tt class="py-keyword">except</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">ormerror</tt><tt class="py-op">,</tt> <tt class="py-name">e</tt><tt class="py-op">:</tt> </tt>
<a name="L108"></a><tt class="py-lineno">108</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">ormerrorhandler</tt><tt class="py-op">(</tt><tt class="py-name">e</tt><tt class="py-op">)</tt> </tt>
</div><a name="L109"></a><tt class="py-lineno">109</tt>  <tt class="py-line"> </tt>
<a name="Form.new"></a><div id="Form.new-def"><a name="L110"></a><tt class="py-lineno">110</tt> <a class="py-toggle" href="#" id="Form.new-toggle" onclick="return toggle('Form.new');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="ProvCon.dbui.orm.form.Form-class.html#new">new</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt>         </tt>
</div><a name="L111"></a><tt class="py-lineno">111</tt>  <tt class="py-line">        <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L112"></a><tt class="py-lineno">112</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-65" class="py-name"><a title="ProvCon.func.events.eventemitter.emit_event" class="py-name" href="#" onclick="return doclink('link-65', 'emit_event', 'link-56');">emit_event</a></tt> <tt class="py-op">(</tt> <tt class="py-string">"request_record_change"</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-66" class="py-name"><a title="ProvCon.dbui.API.IRecordHolder.current
ProvCon.dbui.orm.form.Form.current" class="py-name" href="#" onclick="return doclink('link-66', 'current', 'link-38');">current</a></tt><tt class="py-op">,</tt> <tt class="py-name">None</tt> <tt class="py-op">)</tt> </tt>
<a name="L113"></a><tt class="py-lineno">113</tt>  <tt class="py-line">        <tt class="py-keyword">except</tt> <tt id="link-67" class="py-name" targets="Class ProvCon.func.events.eventcancelled=ProvCon.func.events.eventcancelled-class.html"><a title="ProvCon.func.events.eventcancelled" class="py-name" href="#" onclick="return doclink('link-67', 'eventcancelled', 'link-67');">eventcancelled</a></tt><tt class="py-op">:</tt> </tt>
<a name="L114"></a><tt class="py-lineno">114</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-name">False</tt> </tt>
<a name="L115"></a><tt class="py-lineno">115</tt>  <tt class="py-line">         </tt>
<a name="L116"></a><tt class="py-lineno">116</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-68" class="py-name"><a title="ProvCon.dbui.API.IRecordHolder.current
ProvCon.dbui.orm.form.Form.current" class="py-name" href="#" onclick="return doclink('link-68', 'current', 'link-38');">current</a></tt><tt class="py-op">.</tt><tt id="link-69" class="py-name" targets="Method ProvCon.dbui.orm.record.Record.setObjectID()=ProvCon.dbui.orm.record.Record-class.html#setObjectID"><a title="ProvCon.dbui.orm.record.Record.setObjectID" class="py-name" href="#" onclick="return doclink('link-69', 'setObjectID', 'link-69');">setObjectID</a></tt> <tt class="py-op">(</tt> <tt class="py-name">None</tt> <tt class="py-op">)</tt> </tt>
<a name="L117"></a><tt class="py-lineno">117</tt>  <tt class="py-line">        <tt class="py-keyword">for</tt> <tt class="py-name">fname</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">defaultvalues</tt><tt class="py-op">:</tt> </tt>
<a name="L118"></a><tt class="py-lineno">118</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-70" class="py-name"><a title="ProvCon.dbui.API.IRecordHolder.current
ProvCon.dbui.orm.form.Form.current" class="py-name" href="#" onclick="return doclink('link-70', 'current', 'link-38');">current</a></tt><tt class="py-op">[</tt><tt class="py-name">fname</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">defaultvalues</tt><tt class="py-op">[</tt><tt class="py-name">fname</tt><tt class="py-op">]</tt>             </tt>
<a name="L119"></a><tt class="py-lineno">119</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-71" class="py-name"><a title="ProvCon.dbui.orm.form.Form.on_record_changed_handler" class="py-name" href="#" onclick="return doclink('link-71', 'on_record_changed_handler', 'link-16');">on_record_changed_handler</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L120"></a><tt class="py-lineno">120</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-72" class="py-name"><a title="ProvCon.func.events.eventemitter.emit_event" class="py-name" href="#" onclick="return doclink('link-72', 'emit_event', 'link-56');">emit_event</a></tt> <tt class="py-op">(</tt> <tt class="py-string">"new_record"</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-73" class="py-name"><a title="ProvCon.dbui.API.IRecordHolder.current
ProvCon.dbui.orm.form.Form.current" class="py-name" href="#" onclick="return doclink('link-73', 'current', 'link-38');">current</a></tt> <tt class="py-op">)</tt> </tt>
<a name="L121"></a><tt class="py-lineno">121</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-74" class="py-name"><a title="ProvCon.func.events.eventemitter.emit_event" class="py-name" href="#" onclick="return doclink('link-74', 'emit_event', 'link-56');">emit_event</a></tt> <tt class="py-op">(</tt> <tt class="py-string">"current_record_changed"</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-75" class="py-name"><a title="ProvCon.dbui.API.IRecordHolder.current
ProvCon.dbui.orm.form.Form.current" class="py-name" href="#" onclick="return doclink('link-75', 'current', 'link-38');">current</a></tt> <tt class="py-op">)</tt> </tt>
<a name="L122"></a><tt class="py-lineno">122</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-76" class="py-name"><a title="ProvCon.func.events.eventemitter.emit_event" class="py-name" href="#" onclick="return doclink('link-76', 'emit_event', 'link-56');">emit_event</a></tt> <tt class="py-op">(</tt> <tt class="py-string">"navigate"</tt><tt class="py-op">,</tt> <tt class="py-name">None</tt> <tt class="py-op">)</tt> </tt>
</div><a name="L123"></a><tt class="py-lineno">123</tt>  <tt class="py-line"> </tt>
<a name="Form.setid"></a><div id="Form.setid-def"><a name="L124"></a><tt class="py-lineno">124</tt> <a class="py-toggle" href="#" id="Form.setid-toggle" onclick="return toggle('Form.setid');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="ProvCon.dbui.orm.form.Form-class.html#setid">setid</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">objectid</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Form.setid-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Form.setid-expanded"><a name="L125"></a><tt class="py-lineno">125</tt>  <tt class="py-line">        <tt class="py-docstring">"""this function is used by the GUI to load a record into a form"""</tt> </tt>
<a name="L126"></a><tt class="py-lineno">126</tt>  <tt class="py-line">        <tt class="py-comment">##TODO: it would be much prettier if this was done with events:</tt> </tt>
<a name="L127"></a><tt class="py-lineno">127</tt>  <tt class="py-line">        <tt class="py-comment">##   1. this function calls setObjectID on the current record</tt> </tt>
<a name="L128"></a><tt class="py-lineno">128</tt>  <tt class="py-line">        <tt class="py-comment">##   2. the record emits a 'record_changed' event</tt> </tt>
<a name="L129"></a><tt class="py-lineno">129</tt>  <tt class="py-line">        <tt class="py-comment">##   3. form's handler of this event fills in the values</tt> </tt>
<a name="L130"></a><tt class="py-lineno">130</tt>  <tt class="py-line">        <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L131"></a><tt class="py-lineno">131</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-77" class="py-name"><a title="ProvCon.func.events.eventemitter.emit_event" class="py-name" href="#" onclick="return doclink('link-77', 'emit_event', 'link-56');">emit_event</a></tt> <tt class="py-op">(</tt> <tt class="py-string">"request_record_change"</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-78" class="py-name"><a title="ProvCon.dbui.API.IRecordHolder.current
ProvCon.dbui.orm.form.Form.current" class="py-name" href="#" onclick="return doclink('link-78', 'current', 'link-38');">current</a></tt><tt class="py-op">,</tt> <tt class="py-name">objectid</tt> <tt class="py-op">)</tt> </tt>
<a name="L132"></a><tt class="py-lineno">132</tt>  <tt class="py-line">        <tt class="py-keyword">except</tt> <tt id="link-79" class="py-name"><a title="ProvCon.func.events.eventcancelled" class="py-name" href="#" onclick="return doclink('link-79', 'eventcancelled', 'link-67');">eventcancelled</a></tt><tt class="py-op">:</tt> </tt>
<a name="L133"></a><tt class="py-lineno">133</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-name">False</tt> </tt>
<a name="L134"></a><tt class="py-lineno">134</tt>  <tt class="py-line">        <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L135"></a><tt class="py-lineno">135</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-80" class="py-name"><a title="ProvCon.dbui.API.IRecordHolder.current
ProvCon.dbui.orm.form.Form.current" class="py-name" href="#" onclick="return doclink('link-80', 'current', 'link-38');">current</a></tt><tt class="py-op">.</tt><tt id="link-81" class="py-name"><a title="ProvCon.dbui.orm.record.Record.setObjectID" class="py-name" href="#" onclick="return doclink('link-81', 'setObjectID', 'link-69');">setObjectID</a></tt> <tt class="py-op">(</tt> <tt class="py-name">objectid</tt> <tt class="py-op">)</tt> </tt>
<a name="L136"></a><tt class="py-lineno">136</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-82" class="py-name"><a title="ProvCon.dbui.orm.form.Form.on_record_changed_handler" class="py-name" href="#" onclick="return doclink('link-82', 'on_record_changed_handler', 'link-16');">on_record_changed_handler</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L137"></a><tt class="py-lineno">137</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">modification_notification</tt> <tt class="py-op">=</tt> <tt class="py-name">False</tt> </tt>
<a name="L138"></a><tt class="py-lineno">138</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-83" class="py-name"><a title="ProvCon.func.events.eventemitter.emit_event" class="py-name" href="#" onclick="return doclink('link-83', 'emit_event', 'link-56');">emit_event</a></tt> <tt class="py-op">(</tt> <tt class="py-string">"data_loaded"</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-84" class="py-name"><a title="ProvCon.dbui.API.IRecordHolder.current
ProvCon.dbui.orm.form.Form.current" class="py-name" href="#" onclick="return doclink('link-84', 'current', 'link-38');">current</a></tt> <tt class="py-op">)</tt> </tt>
<a name="L139"></a><tt class="py-lineno">139</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-85" class="py-name"><a title="ProvCon.func.events.eventemitter.emit_event" class="py-name" href="#" onclick="return doclink('link-85', 'emit_event', 'link-56');">emit_event</a></tt> <tt class="py-op">(</tt> <tt class="py-string">"current_record_changed"</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-86" class="py-name"><a title="ProvCon.dbui.API.IRecordHolder.current
ProvCon.dbui.orm.form.Form.current" class="py-name" href="#" onclick="return doclink('link-86', 'current', 'link-38');">current</a></tt> <tt class="py-op">)</tt> </tt>
<a name="L140"></a><tt class="py-lineno">140</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-87" class="py-name"><a title="ProvCon.func.events.eventemitter.emit_event" class="py-name" href="#" onclick="return doclink('link-87', 'emit_event', 'link-56');">emit_event</a></tt> <tt class="py-op">(</tt> <tt class="py-string">"navigate"</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-88" class="py-name"><a title="ProvCon.dbui.API.IRecordHolder.current
ProvCon.dbui.orm.form.Form.current" class="py-name" href="#" onclick="return doclink('link-88', 'current', 'link-38');">current</a></tt><tt class="py-op">.</tt><tt class="py-name">objectid</tt> <tt class="py-op">)</tt>         </tt>
<a name="L141"></a><tt class="py-lineno">141</tt>  <tt class="py-line">        <tt class="py-keyword">except</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">ormerror</tt><tt class="py-op">,</tt> <tt class="py-name">e</tt><tt class="py-op">:</tt> </tt>
<a name="L142"></a><tt class="py-lineno">142</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">ormerrorhandler</tt> <tt class="py-op">(</tt><tt class="py-name">e</tt><tt class="py-op">)</tt> </tt>
</div><a name="L143"></a><tt class="py-lineno">143</tt>  <tt class="py-line">             </tt>
<a name="Form.delete"></a><div id="Form.delete-def"><a name="L144"></a><tt class="py-lineno">144</tt> <a class="py-toggle" href="#" id="Form.delete-toggle" onclick="return toggle('Form.delete');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="ProvCon.dbui.orm.form.Form-class.html#delete">delete</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Form.delete-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Form.delete-expanded"><a name="L145"></a><tt class="py-lineno">145</tt>  <tt class="py-line">        <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L146"></a><tt class="py-lineno">146</tt>  <tt class="py-line">            <tt class="py-name">objid</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-89" class="py-name"><a title="ProvCon.dbui.API.IRecordHolder.current
ProvCon.dbui.orm.form.Form.current" class="py-name" href="#" onclick="return doclink('link-89', 'current', 'link-38');">current</a></tt><tt class="py-op">.</tt><tt class="py-name">objectid</tt> </tt>
<a name="L147"></a><tt class="py-lineno">147</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-90" class="py-name"><a title="ProvCon.dbui.API.IRecordHolder.current
ProvCon.dbui.orm.form.Form.current" class="py-name" href="#" onclick="return doclink('link-90', 'current', 'link-38');">current</a></tt><tt class="py-op">.</tt><tt id="link-91" class="py-name" targets="Method ProvCon.dbui.API.IRecordController.delete()=ProvCon.dbui.API.IRecordController-class.html#delete,Method ProvCon.dbui.database.CFG.tCX.delete()=ProvCon.dbui.database.CFG.tCX-class.html#delete,Method ProvCon.dbui.orm.form.Form.delete()=ProvCon.dbui.orm.form.Form-class.html#delete,Method ProvCon.dbui.orm.record.Record.delete()=ProvCon.dbui.orm.record.Record-class.html#delete"><a title="ProvCon.dbui.API.IRecordController.delete
ProvCon.dbui.database.CFG.tCX.delete
ProvCon.dbui.orm.form.Form.delete
ProvCon.dbui.orm.record.Record.delete" class="py-name" href="#" onclick="return doclink('link-91', 'delete', 'link-91');">delete</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L148"></a><tt class="py-lineno">148</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-92" class="py-name"><a title="ProvCon.func.events.eventemitter.emit_event" class="py-name" href="#" onclick="return doclink('link-92', 'emit_event', 'link-56');">emit_event</a></tt> <tt class="py-op">(</tt> <tt class="py-string">"current_record_deleted"</tt><tt class="py-op">,</tt> <tt class="py-name">objid</tt> <tt class="py-op">)</tt> </tt>
<a name="L149"></a><tt class="py-lineno">149</tt>  <tt class="py-line">        <tt class="py-keyword">except</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">ormerror</tt><tt class="py-op">,</tt> <tt class="py-name">e</tt><tt class="py-op">:</tt> </tt>
<a name="L150"></a><tt class="py-lineno">150</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">ormerrorhandler</tt><tt class="py-op">(</tt><tt class="py-name">e</tt><tt class="py-op">)</tt> </tt>
</div><a name="L151"></a><tt class="py-lineno">151</tt>  <tt class="py-line"> </tt>
<a name="Form.on_edit_handler"></a><div id="Form.on_edit_handler-def"><a name="L152"></a><tt class="py-lineno">152</tt> <a class="py-toggle" href="#" id="Form.on_edit_handler-toggle" onclick="return toggle('Form.on_edit_handler');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="ProvCon.dbui.orm.form.Form-class.html#on_edit_handler">on_edit_handler</a> <tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">fieldname</tt><tt class="py-op">)</tt><tt class="py-op">:</tt>         </tt>
</div><a name="L153"></a><tt class="py-lineno">153</tt>  <tt class="py-line">        <tt class="py-docstring">"""The tkVariable was changed, propagate this value to the current record"""</tt>         </tt>
<a name="L154"></a><tt class="py-lineno">154</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-93" class="py-name"><a title="ProvCon.dbui.API.IRecordHolder.current
ProvCon.dbui.orm.form.Form.current" class="py-name" href="#" onclick="return doclink('link-93', 'current', 'link-38');">current</a></tt><tt class="py-op">.</tt><tt id="link-94" class="py-name" targets="Method ProvCon.dbui.orm.record.Record.setFieldValue()=ProvCon.dbui.orm.record.Record-class.html#setFieldValue"><a title="ProvCon.dbui.orm.record.Record.setFieldValue" class="py-name" href="#" onclick="return doclink('link-94', 'setFieldValue', 'link-94');">setFieldValue</a></tt> <tt class="py-op">(</tt> <tt class="py-name">fieldname</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">tkvars</tt><tt class="py-op">[</tt><tt class="py-name">fieldname</tt><tt class="py-op">]</tt><tt class="py-op">.</tt><tt id="link-95" class="py-name"><a title="ProvCon.dbui.orm.recordsearch.OIDSearchList.get
ProvCon.func.variables.TracedVariable.get" class="py-name" href="#" onclick="return doclink('link-95', 'get', 'link-25');">get</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> <tt class="py-op">)</tt> </tt>
<a name="L155"></a><tt class="py-lineno">155</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-96" class="py-name"><a title="ProvCon.dbui.API.IRecordHolder.current
ProvCon.dbui.orm.form.Form.current" class="py-name" href="#" onclick="return doclink('link-96', 'current', 'link-38');">current</a></tt><tt class="py-op">.</tt><tt class="py-name">_ismodified</tt> <tt class="py-keyword">and</tt> <tt class="py-keyword">not</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">modification_notification</tt><tt class="py-op">:</tt> </tt>
<a name="L156"></a><tt class="py-lineno">156</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">modification_notification</tt> <tt class="py-op">=</tt> <tt class="py-name">True</tt> </tt>
<a name="L157"></a><tt class="py-lineno">157</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-97" class="py-name"><a title="ProvCon.func.events.eventemitter.emit_event" class="py-name" href="#" onclick="return doclink('link-97', 'emit_event', 'link-56');">emit_event</a></tt> <tt class="py-op">(</tt> <tt class="py-string">"current_record_modified"</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-98" class="py-name"><a title="ProvCon.dbui.API.IRecordHolder.current
ProvCon.dbui.orm.form.Form.current" class="py-name" href="#" onclick="return doclink('link-98', 'current', 'link-38');">current</a></tt> <tt class="py-op">)</tt> </tt>
</div><a name="L158"></a><tt class="py-lineno">158</tt>  <tt class="py-line">             </tt>
<a name="Form.value_change_handler"></a><div id="Form.value_change_handler-def"><a name="L159"></a><tt class="py-lineno">159</tt> <a class="py-toggle" href="#" id="Form.value_change_handler-toggle" onclick="return toggle('Form.value_change_handler');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="ProvCon.dbui.orm.form.Form-class.html#value_change_handler">value_change_handler</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">fname</tt><tt class="py-op">,</tt> <tt class="py-op">*</tt><tt class="py-param">args</tt><tt class="py-op">)</tt><tt class="py-op">:</tt>                         </tt>
</div><a name="L160"></a><tt class="py-lineno">160</tt>  <tt class="py-line">        <tt class="py-docstring">"""The tkVariable was changed, propagate this value to the handler</tt> </tt>
<a name="L161"></a><tt class="py-lineno">161</tt>  <tt class="py-line"><tt class="py-docstring">        This is invoked when the set method on one of the form's tkvars is called</tt> </tt>
<a name="L162"></a><tt class="py-lineno">162</tt>  <tt class="py-line"><tt class="py-docstring">        """</tt> </tt>
<a name="L163"></a><tt class="py-lineno">163</tt>  <tt class="py-line">        <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L164"></a><tt class="py-lineno">164</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-99" class="py-name"><a title="ProvCon.dbui.orm.form.Form.value_change_handler" class="py-name" href="#" onclick="return doclink('link-99', 'value_change_handler', 'link-19');">value_change_handler</a></tt><tt class="py-op">.</tt><tt id="link-100" class="py-name" targets="Method ProvCon.func.classes.conditionalmethod.freeze()=ProvCon.func.classes.conditionalmethod-class.html#freeze,Method ProvCon.func.events.eventemitter.evt.freeze()=ProvCon.func.events.eventemitter.evt-class.html#freeze,Method ProvCon.func.events.eventemitter.evthook.freeze()=ProvCon.func.events.eventemitter.evthook-class.html#freeze,Method ProvCon.func.variables.TracedVariable.Tracer.freeze()=ProvCon.func.variables.TracedVariable.Tracer-class.html#freeze,Method ProvCon.func.variables.TracedVariable.freeze()=ProvCon.func.variables.TracedVariable-class.html#freeze"><a title="ProvCon.func.classes.conditionalmethod.freeze
ProvCon.func.events.eventemitter.evt.freeze
ProvCon.func.events.eventemitter.evthook.freeze
ProvCon.func.variables.TracedVariable.Tracer.freeze
ProvCon.func.variables.TracedVariable.freeze" class="py-name" href="#" onclick="return doclink('link-100', 'freeze', 'link-100');">freeze</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L165"></a><tt class="py-lineno">165</tt>  <tt class="py-line">            <tt class="py-keyword">if</tt> <tt class="py-name">fname</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-101" class="py-name"><a title="ProvCon.dbui.meta.table" class="py-name" href="#" onclick="return doclink('link-101', 'table', 'link-36');">table</a></tt><tt class="py-op">:</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-102" class="py-name"><a title="ProvCon.dbui.orm.form.Form.on_edit_handler" class="py-name" href="#" onclick="return doclink('link-102', 'on_edit_handler', 'link-22');">on_edit_handler</a></tt> <tt class="py-op">(</tt> <tt class="py-name">fname</tt> <tt class="py-op">)</tt> </tt>
<a name="L166"></a><tt class="py-lineno">166</tt>  <tt class="py-line">        <tt class="py-keyword">finally</tt><tt class="py-op">:</tt> </tt>
<a name="L167"></a><tt class="py-lineno">167</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-103" class="py-name"><a title="ProvCon.dbui.orm.form.Form.value_change_handler" class="py-name" href="#" onclick="return doclink('link-103', 'value_change_handler', 'link-19');">value_change_handler</a></tt><tt class="py-op">.</tt><tt id="link-104" class="py-name" targets="Method ProvCon.func.classes.conditionalmethod.thaw()=ProvCon.func.classes.conditionalmethod-class.html#thaw,Method ProvCon.func.events.eventemitter.evt.thaw()=ProvCon.func.events.eventemitter.evt-class.html#thaw,Method ProvCon.func.events.eventemitter.evthook.thaw()=ProvCon.func.events.eventemitter.evthook-class.html#thaw,Method ProvCon.func.variables.TracedVariable.Tracer.thaw()=ProvCon.func.variables.TracedVariable.Tracer-class.html#thaw,Method ProvCon.func.variables.TracedVariable.thaw()=ProvCon.func.variables.TracedVariable-class.html#thaw"><a title="ProvCon.func.classes.conditionalmethod.thaw
ProvCon.func.events.eventemitter.evt.thaw
ProvCon.func.events.eventemitter.evthook.thaw
ProvCon.func.variables.TracedVariable.Tracer.thaw
ProvCon.func.variables.TracedVariable.thaw" class="py-name" href="#" onclick="return doclink('link-104', 'thaw', 'link-104');">thaw</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L168"></a><tt class="py-lineno">168</tt>  <tt class="py-line">                     </tt>
<a name="Form.on_record_changed_handler"></a><div id="Form.on_record_changed_handler-def"><a name="L169"></a><tt class="py-lineno">169</tt> <a class="py-toggle" href="#" id="Form.on_record_changed_handler-toggle" onclick="return toggle('Form.on_record_changed_handler');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="ProvCon.dbui.orm.form.Form-class.html#on_record_changed_handler">on_record_changed_handler</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Form.on_record_changed_handler-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Form.on_record_changed_handler-expanded"><a name="L170"></a><tt class="py-lineno">170</tt>  <tt class="py-line">        <tt class="py-docstring">"""The current record was changed, so fill the tkVariables with the record values"""</tt> </tt>
<a name="L171"></a><tt class="py-lineno">171</tt>  <tt class="py-line">        <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L172"></a><tt class="py-lineno">172</tt>  <tt class="py-line">            <tt class="py-comment">#We will be changing the tkvars so freeze their handler for now</tt> </tt>
<a name="L173"></a><tt class="py-lineno">173</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-105" class="py-name"><a title="ProvCon.dbui.orm.form.Form.value_change_handler" class="py-name" href="#" onclick="return doclink('link-105', 'value_change_handler', 'link-19');">value_change_handler</a></tt><tt class="py-op">.</tt><tt id="link-106" class="py-name"><a title="ProvCon.func.classes.conditionalmethod.freeze
ProvCon.func.events.eventemitter.evt.freeze
ProvCon.func.events.eventemitter.evthook.freeze
ProvCon.func.variables.TracedVariable.Tracer.freeze
ProvCon.func.variables.TracedVariable.freeze" class="py-name" href="#" onclick="return doclink('link-106', 'freeze', 'link-100');">freeze</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L174"></a><tt class="py-lineno">174</tt>  <tt class="py-line">            <tt class="py-keyword">for</tt> <tt class="py-name">f</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-107" class="py-name"><a title="ProvCon.dbui.meta.table" class="py-name" href="#" onclick="return doclink('link-107', 'table', 'link-36');">table</a></tt><tt class="py-op">:</tt> </tt>
<a name="L175"></a><tt class="py-lineno">175</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">tkvars</tt><tt class="py-op">[</tt><tt class="py-name">f</tt><tt class="py-op">.</tt><tt class="py-name">name</tt><tt class="py-op">]</tt><tt class="py-op">.</tt><tt id="link-108" class="py-name" targets="Method ProvCon.func.variables.TracedVariable.set()=ProvCon.func.variables.TracedVariable-class.html#set"><a title="ProvCon.func.variables.TracedVariable.set" class="py-name" href="#" onclick="return doclink('link-108', 'set', 'link-108');">set</a></tt> <tt class="py-op">(</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-109" class="py-name"><a title="ProvCon.dbui.API.IRecordHolder.current
ProvCon.dbui.orm.form.Form.current" class="py-name" href="#" onclick="return doclink('link-109', 'current', 'link-38');">current</a></tt><tt class="py-op">.</tt><tt id="link-110" class="py-name" targets="Method ProvCon.dbui.orm.record.Record.getFieldValue()=ProvCon.dbui.orm.record.Record-class.html#getFieldValue"><a title="ProvCon.dbui.orm.record.Record.getFieldValue" class="py-name" href="#" onclick="return doclink('link-110', 'getFieldValue', 'link-110');">getFieldValue</a></tt> <tt class="py-op">(</tt> <tt class="py-name">f</tt><tt class="py-op">.</tt><tt class="py-name">name</tt> <tt class="py-op">)</tt> <tt class="py-op">)</tt> </tt>
<a name="L176"></a><tt class="py-lineno">176</tt>  <tt class="py-line">        <tt class="py-keyword">finally</tt><tt class="py-op">:</tt> </tt>
<a name="L177"></a><tt class="py-lineno">177</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-111" class="py-name"><a title="ProvCon.dbui.orm.form.Form.value_change_handler" class="py-name" href="#" onclick="return doclink('link-111', 'value_change_handler', 'link-19');">value_change_handler</a></tt><tt class="py-op">.</tt><tt id="link-112" class="py-name"><a title="ProvCon.func.classes.conditionalmethod.thaw
ProvCon.func.events.eventemitter.evt.thaw
ProvCon.func.events.eventemitter.evthook.thaw
ProvCon.func.variables.TracedVariable.Tracer.thaw
ProvCon.func.variables.TracedVariable.thaw" class="py-name" href="#" onclick="return doclink('link-112', 'thaw', 'link-104');">thaw</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div></div><a name="L178"></a><tt class="py-lineno">178</tt>  <tt class="py-line">     </tt>
<a name="BaseSpecializedForm"></a><div id="BaseSpecializedForm-def"><a name="L179"></a><tt class="py-lineno">179</tt> <a class="py-toggle" href="#" id="BaseSpecializedForm-toggle" onclick="return toggle('BaseSpecializedForm');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="ProvCon.dbui.orm.form-module.html#BaseSpecializedForm">BaseSpecializedForm</a><tt class="py-op">(</tt><tt class="py-param">table</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="BaseSpecializedForm-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="BaseSpecializedForm-expanded"><a name="L180"></a><tt class="py-lineno">180</tt>  <tt class="py-line">    <tt class="py-keyword">class</tt> <tt class="py-def-name">_Form</tt><tt class="py-op">(</tt><tt class="py-base-class">Form</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L181"></a><tt class="py-lineno">181</tt>  <tt class="py-line">        <tt class="py-keyword">def</tt> <tt class="py-def-name">__init__</tt><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L182"></a><tt class="py-lineno">182</tt>  <tt class="py-line">            <tt id="link-113" class="py-name" targets="Class ProvCon.dbui.orm.form.Form=ProvCon.dbui.orm.form.Form-class.html"><a title="ProvCon.dbui.orm.form.Form" class="py-name" href="#" onclick="return doclink('link-113', 'Form', 'link-113');">Form</a></tt><tt class="py-op">.</tt><tt id="link-114" class="py-name"><a title="ProvCon.TFTP.Protocol.Packet.__init__
ProvCon.TFTP.ProvisioningTFTP.BaseOven.__init__
ProvCon.TFTP.ProvisioningTFTP.CableModemConfigCook.__init__
ProvCon.TFTP.ProvisioningTFTP.FileCook.__init__
ProvCon.TFTP.ProvisioningTFTP.ProvisioningTFTPServer.__init__
ProvCon.TFTP.ProvisioningTFTP.TFTPDataSender.__init__
ProvCon.TFTP.ProvisioningTFTP.pcTFTPD.__init__
ProvCon.TFTP.Server.BaseTFTPServer.__init__
ProvCon.cli.CLIServer.__init__
ProvCon.cli.CLIWorker.__init__
ProvCon.dbui.abstractui.fields.BaseArrayEditor.__init__
ProvCon.dbui.abstractui.fields.BaseArrayItemButtonBox.__init__
ProvCon.dbui.abstractui.fields.BaseArrayItemEditor.__init__
ProvCon.dbui.abstractui.fields.BaseFieldEditor.__init__
ProvCon.dbui.abstractui.fields.BaseReferenceEditor.__init__
ProvCon.dbui.abstractui.forms.BaseForm.__init__
ProvCon.dbui.abstractui.navigators.BaseNavigator.__init__
ProvCon.dbui.abstractui.recordlists.BasePager.__init__
ProvCon.dbui.abstractui.recordlists.BaseRecordList.__init__
ProvCon.dbui.database.CFG.tCX.__init__
ProvCon.dbui.di.rObject'.ObjectFlags.__init__
ProvCon.dbui.di.rObject'.ObjectParams.__init__
ProvCon.dbui.di.rObject'.rObject.__init__
ProvCon.dbui.meta.field.Field.__init__
ProvCon.dbui.meta.table.Table.__init__
ProvCon.dbui.orm.form.Form.__init__
ProvCon.dbui.orm.record.Record.DataManipulationError.__init__
ProvCon.dbui.orm.record.Record.DataQueryError.__init__
ProvCon.dbui.orm.record.Record.RecordNotFound.__init__
ProvCon.dbui.orm.record.Record.__init__
ProvCon.dbui.orm.recordlist.RecordList.__init__
ProvCon.dbui.orm.recordsearch.OIDSearchList.__init__
ProvCon.dbui.wxwin.complete.CompleteGenericForm.__init__
ProvCon.dbui.wxwin.complete.FormToolbar.__init__
ProvCon.dbui.wxwin.complete.InfoPopup.__init__
ProvCon.dbui.wxwin.fields.Entry.ArrayCombo.__init__
ProvCon.dbui.wxwin.fields.Entry.ArrayItemCombo.__init__
ProvCon.dbui.wxwin.fields.Entry.ArrayItemStatic.__init__
ProvCon.dbui.wxwin.fields.Entry.ArrayItemText.__init__
ProvCon.dbui.wxwin.fields.Entry.ArrayText.__init__
ProvCon.dbui.wxwin.fields.Entry.BaseArray.__init__
ProvCon.dbui.wxwin.fields.Entry.Boolean.__init__
ProvCon.dbui.wxwin.fields.Entry.ComboReference.__init__
ProvCon.dbui.wxwin.fields.Entry.Memo.__init__
ProvCon.dbui.wxwin.fields.Entry.StandardArrayItemButtonBox.__init__
ProvCon.dbui.wxwin.fields.Entry.Static.__init__
ProvCon.dbui.wxwin.fields.Entry.StaticReference.__init__
ProvCon.dbui.wxwin.fields.Entry.Text.__init__
ProvCon.dbui.wxwin.forms.GenericForm.__init__
ProvCon.dbui.wxwin.mwx.CheckBox.__init__
ProvCon.dbui.wxwin.mwx.ComboBox.__init__
ProvCon.dbui.wxwin.mwx.StaticText.__init__
ProvCon.dbui.wxwin.mwx.TextCtrl.__init__
ProvCon.dbui.wxwin.mwx.mwxControl.__init__
ProvCon.dbui.wxwin.navigators.Navigator.__init__
ProvCon.dbui.wxwin.recordlists.RecordList.__init__
ProvCon.docsis.cablemodem.cablemodem.__init__
ProvCon.docsis.cablemodem.cablemodem._cos.__init__
ProvCon.docsis.cablemodem.cablemodem._cpe.__init__
ProvCon.docsis.cablemodem.cablemodem._mac.__init__
ProvCon.docsis.compiler.config.config.__init__
ProvCon.docsis.compiler.encoder.error.__init__
ProvCon.docsis.compiler.encoder.tlv.__init__
ProvCon.docsis.compiler.encoder.tlv_multipart.__init__
ProvCon.docsis.compiler.encoder.tlv_multipart.append_proxy.__init__
ProvCon.docsis.compiler.encoder.tlv_multipart.iterator.__init__
ProvCon.docsis.compiler.encoder.tlv_multipart_subclass.__init__
ProvCon.docsis.compiler.encoder.tlv_subclass.__init__
ProvCon.func.classes.conditionalmethod.__init__
ProvCon.func.events.eventemitter.__init__
ProvCon.func.events.eventemitter.evt.__init__
ProvCon.func.events.eventemitter.evthook.__init__
ProvCon.func.events.eventexception.__init__
ProvCon.func.variables.TracedVariable.Tracer.__init__
ProvCon.func.variables.TracedVariable.__init__
ProvCon.gui.FrontEndApp.FE.__init__
ProvCon.gui.ProvisioningControl.GenericObjectEditor.__init__
ProvCon.gui.ProvisioningControl.GridView.__init__
ProvCon.gui.ProvisioningControl.MainTab.__init__
ProvCon.gui.ProvisioningControl.ObjectEditorModel.__init__
ProvCon.gui.ProvisioningControl.TopLevelWindow.__init__
ProvCon.log.LoggingBackend.__init__
ProvCon.log.LoggingClient.__init__
ProvCon.log.LoggingServer.__init__
ProvCon.ui.uierror.__init__
ProvCon.wronolib.ipaddr.ip4addr.__init__
ProvCon.wronolib.ipaddr.ip4prefix.__init__" class="py-name" href="#" onclick="return doclink('link-114', '__init__', 'link-15');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt id="link-115" class="py-name"><a title="ProvCon.dbui.meta.table" class="py-name" href="#" onclick="return doclink('link-115', 'table', 'link-36');">table</a></tt><tt class="py-op">)</tt> </tt>
</div></div><a name="L183"></a><tt class="py-lineno">183</tt>  <tt class="py-line">    <tt class="py-keyword">return</tt> <tt class="py-name">_Form</tt> </tt>
</div><a name="L184"></a><tt class="py-lineno">184</tt>  <tt class="py-line"> </tt><script type="text/javascript">
<!--
expandto(location.href);
// -->
</script>
</pre>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="ProvCon-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            >docsis-provisioning</th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Tue Jan 13 12:48:47 2009
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
